import request from '@/utils/request'

//获取账号冻结列表
export function getFrozenRecordList(data) {
	return request({
		method: 'get',
		url: 'tbFrozenRecord/queryPageList',
		params: data
	})
}

//删除账号冻结记录
export function deleteFrozenRecord(id) {
	return request({
		method: 'get',
		url: 'tbFrozenRecord/delete/' + id
	})
}

//修改账号冻结记录
export function updateFrozenRecord(data) {
	return request({
		method: 'post',
		url: 'tbFrozenRecord/update',
		data
	})
}

//获取资源库类型详情
export function queryFrozenRecord(id) {
	return request({
		method: 'get',
		url: 'tbFrozenRecord/query/' + id
	})
}